package com.imooc.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author: bie
 * @create: 2021-06-30 08:16
 */
@SpringBootApplication(exclude = {MongoAutoConfiguration.class})
@MapperScan(basePackages = {"com.imooc.user.mapper"})
@ComponentScan(basePackages = {"com.imooc", "org.n3r.idworker"})  // 因为会引用别的项目
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}